package com.example.app.components.MyNavigationBar

import androidx.compose.foundation.layout.RowScope
import androidx.compose.foundation.layout.WindowInsets
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.NavigationBar
import androidx.compose.material3.NavigationBarDefaults
import androidx.compose.material3.contentColorFor
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.Dp

@Composable
fun MyNavigationBar(
        modifier: Modifier = Modifier,
        containerColor: Color = MaterialTheme.colorScheme.onPrimary,
        contentColor: Color = MaterialTheme.colorScheme.contentColorFor(containerColor),
        tonalElevation: Dp = NavigationBarDefaults.Elevation,
        windowInsets: WindowInsets = NavigationBarDefaults.windowInsets,
        content: @Composable RowScope.() -> Unit
) {
    NavigationBar(
        modifier,
        containerColor,
        contentColor,
        tonalElevation,
        windowInsets,
        content,
    )
}